/* global Vue */
import mixins from '@/mixins'
import request from '@/request'
Vue.prototype.$api = request
/* weex initialized here, please do not move this line */

const App = require('@/index.vue')
const router = require('./router')

/* eslint-disable no-new */
Vue.mixin(mixins)
new Vue(Vue.util.extend({el: '#root', router}, App))
router.push('/')
